package com.sunwoda.springbootredis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: springbootredis
 * @description: 返回实体类
 * @author: SGR
 * @create: 2021-09-18 15:46
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ResultEntity<T> {

    private int code;

    private String msg;

    private T data;
}
